package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 项目人力保险记录明细
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_project_personnel_insurance_info")
@ApiModel (value = "项目人力保险记录明细", description = "项目人力保险记录明细")
public class ProjectPersonnelInsuranceEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("项目Id")
    @TableField ("project_id")
    private String projectId;

    @ApiModelProperty ("项目人力Id")
    @TableField ("personnel_id")
    private String personnelId;

    @ApiModelProperty ("投保日期")
    @TableField ("insure_time")
    private Date insureTime;

    @ApiModelProperty ("保险结束日期")
    @TableField ("end_time")
    private Date endTime;

    @ApiModelProperty ("保险种类")
    @TableField ("insurance_type")
    private String insuranceType;

    @ApiModelProperty ("保单号")
    @TableField ("policy_number")
    private String policyNumber;

    @ApiModelProperty ("保费")
    @TableField ("money")
    private String money;

    @ApiModelProperty ("投保金额")
    @TableField ("insure_money")
    private String insureMoney;

    @ApiModelProperty ("保险公司")
    @TableField ("insurance_company")
    private String insuranceCompany;

    @ApiModelProperty ("保单明细")
    @TableField ("policy_detail")
    private String policyDetail;

    @ApiModelProperty ("发票编号")
    @TableField ("invoice_no")
    private String invoiceNo;

    @ApiModelProperty ("保险经办人Id")
    @TableField ("operator_user_id")
    private String operatorUserId;

    @ApiModelProperty ("添加人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;


}
